<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>添加用户</title>
    <style>
        .button{
            position: center;
            text-align:center;
            background-color: coral;
            color: white;
            text-decoration:none;//去下划线
            border-color: chocolate;
            border-bottom-color: chocolate;
            border-right-color: chocolate;
            border-radius:7px;//按钮圆角锐化
        }
    </style>
</head>
<body>
<form th:action="@{addBookSave}" method="post">
    <table border="1" >
        <tr>
            <th>书本ID</th>
            <th>书本名</th>
            <th>作者</th>
            <th>出版社</th>
            <th>时间</th>
            <th>书本位置</th>
        </tr>
        <tr>
            <td><input name="bookId" type="text"/></td>
            <td><input name="bookName" type="text"/></td>
            <td><input name="author" type="text"/></td>
            <td><input name="publisher" type="text"/></td>
            <td><input name="publishDate" type="date"/></td>
<!--            <td><input name="publishDate" type="Timestamp"/></td>-->
            <td><input name="bookPosition" type="text"/></td>
    </table>
    <input class="button" type="submit" value="保存"/>
</form>
<form th:action="@{viewBook}" method="get">
    <button class="button">返回</button>
</form>
</body>
</html>

